/**
 * Copyright @ 2000 ysten Co. Ltd. 
 * All right reserved.     
 * @author: wangmin
 * date: 2016-08-02     
 */
package com.task.service;

import com.task.bean.JsTokenBean;
import com.task.entity.SysConfig;

public interface IWxService {

    SysConfig getTokenTimestamp();

    /**
     * 获取js验证信息
     * @return
     */
    JsTokenBean saveAndGetAuthorityInfo(String url) throws Exception;

    /**
     * 获取微信用户详细信息
     * @param code
     * @return
     */
    String saveWxUserInfo(String code);


    /**
     * 获取accessToken
     * @return
     */
    String saveAndGetAccessToken();
    
    
}
